const el = document.getElementsByTagName("h1")[0];
if (el) {
  el.innerText = "标题";
} else {
  console.log("fjkl");
}
